package com.company.ssh.service;

import java.util.List;

import com.company.ssh.bean.Book;
import com.company.ssh.dao.BookDAO;

public class BookService {
	
	private BookDAO bookDao;
	
	
	public void setBookDao(BookDAO bookDao) {
		this.bookDao = bookDao;
	}


	public List<Book> findAll(){
		List<Book> list = bookDao.select();
		
		return list;
	}
}
